#!/bin/bash

#赋予服务脚本运行权限
sudo chmod +x /root/lubancat5-btb-io-car-main/app/app_service/why_car_service.sh
#创建链接到系统服务
sudo ln -s /root/lubancat5-btb-io-car-main/app/app_service/why_car_service.service /etc/systemd/system/

sudo systemctl daemon-reload
sudo systemctl enable why_car_service
sudo systemctl start why_car_service

